/*
 * Project Name spring-boot-tools
 * File Name EnableCreateDataBases
 * Package Name com.huxiaosu.tools.mybatis.annotation
 * Create Time 2024/7/9
 * Create by name：liujie
 */
package com.huxiaosu.tools.autocreate.annotation;

import com.baomidou.mybatisplus.annotation.DbType;
import com.huxiaosu.tools.autocreate.selector.CreateTablesImportSelector;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 自动创建数据库表结构
 *
 * @author liujie
 * @date 2024/7/9 14:39
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(CreateTablesImportSelector.class)
public @interface EnableCreateTables {
    DbType value() default DbType.MYSQL;
}